//引入封装的请求服务
import { GET, POST, UPLOAD } from '@/services/request.js'

//导出接口
export default {
  OrderIndex(data = {})
  {
    return POST({
      url: '/order/order/index',
      params: data
    })
  },
  OrderAdd(data = {})
  {
    return UPLOAD({
      url: '/order/order/add',
      params: data
    })
  },
  OrderInfo(data = {})
  {
    return POST({
      url: '/order/order/info',
      params: data
    })
  },
  OrderConfirm(data = {})
  {
    return POST({
      url: '/order/order/confirm',
      params: data
    })
  },

  OrderComment(data = {})
  {
    return UPLOAD({
      url: '/order/order/comment',
      params: data
    })
  },

  OrderExpress(data = {})
  {
    return POST({
      url: '/order/order/express',
      params: data
    })
  },

  OrderBack(data = {})
  {
    return POST({
      url: '/order/order/back',
      params: data
    })
  },

  OrderBackinfo(data = {})
  {
    return POST({
      url: '/order/order/backinfo',
      params: data
    })
  },

  OrderCode(data = {})
  {
    return POST({
      url: '/order/order/code',
      params: data
    })
  },
}